﻿using System;
using MarketManagementSystem.Entities;
using Microsoft.EntityFrameworkCore;

namespace MarketManagementSystem.Repository
{
    public class MarketDbContext : DbContext
    {
        public DbSet<Products> Products { get; set; }
        public DbSet<ProductCategory> ProductCategories { get; set; }
        public DbSet<ProductInventory> ProductInventories { get; set; }
        public DbSet<ProductStorage> ProductStorage { get; set; }
        public DbSet<ProductUnit> ProductUnits { get; set; }
        public DbSet<InventoryStatus> InventoryStatus { get; set; }
        public DbSet<LoginLogs> LoginLogs { get; set; }
        public DbSet<SalesList> SalesLists { get; set; }
        public DbSet<SalesListDetail> SalesListDetail { get; set; }
        public DbSet<SalesPerson> SalesPersons { get; set; }
        public DbSet<VIPMembers>  VipMembers{ get; set; }
        public DbSet<SysAdmins> SysAdmins { get; set; }

        public MarketDbContext(DbContextOptions<MarketDbContext> options) : base(options)
        {
            
        }
    }
}
